package com.hulk.dryad.web.api.vo;


import com.hulk.dryad.web.api.vo.base.ReqVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author lqx
 * @date 2020/12/31
 * 验证码校验req
 */
@ApiModel
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SMSCheckReqVO extends ReqVO {
    /**
     * 消息接收者
     */
    @NotBlank(message = "消息接收者不能为空;")
    @ApiModelProperty(value = "消息接收者", required = true)
    private String receiver;
    /**
     * 消息类型
     */
    @NotBlank(message = "消息类型不能为空;")
    @ApiModelProperty(value = "消息类型", required = true)
    private String smsType;
    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空;")
    @ApiModelProperty(value = "验证码", required = true)
    private String smsValue;


    @ApiModelProperty(value = "预留字段", required = false)
    private String rsv;

}
